<template>
  <div class="user-search">
    <UserItem v-for="(user, index) in userList" :key="index" :user="user"/>
  </div>
</template>

<script>
import UserItem from './UserItem.vue'
export default {
  components:{
    UserItem
  },
  props: ["userList"],
};
</script>

<style lang="scss" scoped>
.user-search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.15rem;
  
}
</style>